package com.utility.project.service;

import com.utility.project.dto.YsExamAnswerDTO;
import com.utility.project.entity.YsExamAnswer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.utility.project.param.ExamAnswerParam;
import com.utility.project.param.QueryAnswerParam;

import java.util.List;

/**
 * @author yangzhiguo
 * @date 2024-07-29
 * @description 试题答案
 */
public interface IYsExamAnswerService extends IService<YsExamAnswer> {

    List<YsExamAnswerDTO> queryExamAnswerList(QueryAnswerParam queryAnswerParam);

    Boolean saveExamAnswer(List<ExamAnswerParam> paramList);

    Integer queryMaxPaperNum(String paperId, String username);

    List<YsExamAnswer> queryAnswerList(String username, String paperId, Integer paperNum);
}
